<?php

namespace Controller;

/**
 * User 用户的个人资料管理控制器
 *
 * @author dongasai
 */
class User
{

    /**
     * 获取个人资料
     */
    static function info($client_id, $data)
    {
        dump(func_get_args());
        $message = \Service\User::info($client_id, $data);
        sendToCurrentClient($message);
    }

    /**
     * 获取好友列表
     * @param type $client_id
     * @param type $data
     */
    static function friends($client_id, $data)
    {
        dump(func_get_args());
        $message = \Service\User::friends($client_id, $data);

        sendToCurrentClient($message);
    }

}
